import request from '@/utils/request'

// 查询仰口生产报列表
export function listAnalysis_singelproduction(query) {
  return request({
    url: '/productionProcess/analysis_singelproduction/list',
    method: 'get',
    params: query
  })
}

// 查询仰口生产报详细
export function getAnalysis_singelproduction(id) {
  return request({
    url: '/productionProcess/analysis_singelproduction/' + id,
    method: 'get'
  })
}

// 新增仰口生产报
export function addAnalysis_singelproduction(data) {
  return request({
    url: '/productionProcess/analysis_singelproduction',
    method: 'post',
    data: data
  })
}

// 修改仰口生产报
export function updateAnalysis_singelproduction(data) {
  return request({
    url: '/productionProcess/analysis_singelproduction',
    method: 'put',
    data: data
  })
}

// 删除仰口生产报
export function delAnalysis_singelproduction(id) {
  return request({
    url: '/productionProcess/analysis_singelproduction/' + id,
    method: 'delete'
  })
}

// 产量

export function queryCount(query) {
  return request({
    url: '/productionProcess/analysis_singelproduction/queryCount',
    method: 'get',
    params: query
  })
}

// 求和
export function querysum(query) {
  return request({
    url: '/productionProcess/analysis_singelproduction/querysum',
    method: 'get',
    params: query
  })
}